#pragma once


#ifndef MORESINGALWIDGET_H
#define MORESINGALWIDGET_H

#include <QDialog>
#include <QWidget>
#include<QLabel>
#include"model/data.h"
#include<QPushButton>

#include"choosefriendsdialog.h"

/////////////////////
/// 组合控件1,头像加名字
///////////////
class avatarItem:public QWidget{
     Q_OBJECT
public:
     avatarItem(const QIcon&avatarpix,const QString&name);
    QPushButton* getaddfriendBtn()
     {
        return avatar;
     }
private:

     QPushButton* avatar;
      QLabel*  nameLabel;
};

/////////////////////
/// 类，单人更多
///////////////
class moreSignalWidget : public QDialog
{
    Q_OBJECT
public:
    moreSignalWidget(QWidget*parent);
private:
     QPushButton*  deleteFriendBtn;
};

#endif // MORESINGALWIDGET_H
